package com.service.zk;

import com.dao.zk.DeptDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class DeptService {
    @Resource
    private DeptDAO deptDAO;

    public List<Map<String,Object>> getDepts(){
        return deptDAO.selDepts();
    }
}
